package com.bestcem.xm.deliver.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName ds_deliver_againdelivertask
 */
@TableName(value = "ds_deliver_againdelivertask")
@Data
@EqualsAndHashCode(callSuper = true)
public class DeliverAgainDeliverTask extends BaseEntity2 {

    @TableId(value = "id")
    private String id;

    /**
     * 任务名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 原始问卷
     */
    @TableField(value = "raw_project_id")
    private String rawProjectId;

    /**
     * 投放问卷
     */
    @TableField(value = "deliver_project_id")
    private String deliverProjectId;

    /**
     * 创建人id
     */
    @TableField(value = "creator")
    private String creator;

    /**
     * conditions
     */
    @TableField(value = "conditions")
    private String conditions;

    /**
     * 二次投放任务类型
     */
    @TableField(value = "ttype")
    private Integer ttype;

    /**
     * 是否开启重复提交问卷
     */
    @TableField(value = "checksubmit")
    private Integer checksubmit;

    /**
     * 条件列表之间的关系
     */
    @TableField(value = "condition_relation")
    private Integer conditionRelation;

    /**
     * 组织id
     */
    @TableField(value = "org_id")
    private String orgId;

    /**
     * 短信模版
     */
    @TableField(value = "sms_template_id")
    private String smsTemplateId;

    /**
     * 短信模板内容
     */
    @TableField(value = "sms_template_content")
    private String smsTemplateContent;

    /**
     * 短信模板标题
     */
    @TableField(value = "sms_template_title")
    private String smsTemplateTitle;

}